<?php

abstract class OOWP_Filter
    extends OOWP_Base
{

    public function __construct($arg)
    {
        parent::__construct(array(
            'arg' => $arg,
        ));
    }

    /* ACCESSORS */

    protected function getArg( )
    {
        return $this->dict['arg'];
    }

    protected function setArg($arg)
    {
        $this->dict['arg'] = $arg;
    }

    /* METHODS */

    abstract public function filter($input, OOWP_Formattable $context);

}
